package com.javasea.logback;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

@MapperScan("com.javasea.logback.*")
//@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class})
@SpringBootApplication
public class LogbackApplication {

    public static void main(String[] args) {
        SpringApplication app = new SpringApplication(LogbackApplication.class);
        app.run(args);
        System.err.println("启动成功");
    }

}
